﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class m_ProductHierarchy : DataObject
    {
        [Column]
        public string ILCode { get { return _ILCode; } set { _ILCode = value; EntityState.FieldChange("ILCode"); } }
        private string _ILCode;
        public static FieldInfo ilcode = new FieldInfo("m_ProductHierarchy", "ILCode");

        [Column]
        public string ILData { get { return _ILData; } set { _ILData = value; EntityState.FieldChange("ILData"); } }
        private string _ILData;
        public static FieldInfo ildata = new FieldInfo("m_ProductHierarchy", "ILData");

        [Column]
        public string ILDesc { get { return _ILDesc; } set { _ILDesc = value; EntityState.FieldChange("ILDesc"); } }
        private string _ILDesc;
        public static FieldInfo ildesc = new FieldInfo("m_ProductHierarchy", "ILDesc");

        [Column]
        public string Product_Hierarchy { get { return _Product_Hierarchy; } set { _Product_Hierarchy = value; EntityState.FieldChange("Product_Hierarchy"); } }
        private string _Product_Hierarchy;
        public static FieldInfo product_hierarchy = new FieldInfo("m_ProductHierarchy", "Product_Hierarchy");

        [Column]
        public string PH4 { get { return _PH4; } set { _PH4 = value; EntityState.FieldChange("PH4"); } }
        private string _PH4;
        public static FieldInfo ph4 = new FieldInfo("m_ProductHierarchy", "PH4");

        [Column]
        public string PH4_Description { get { return _PH4_Description; } set { _PH4_Description = value; EntityState.FieldChange("PH4_Description"); } }
        private string _PH4_Description;
        public static FieldInfo ph4_description = new FieldInfo("m_ProductHierarchy", "PH4_Description");

        [Column]
        [NowDate]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } }
        private DateTime _Time;
        public static FieldInfo time = new FieldInfo("m_ProductHierarchy", "Time");

        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } }
        private int _Status;
        public static FieldInfo status = new FieldInfo("m_ProductHierarchy", "Status");
    }
}
